package com.yiyang.service;

import com.yiyang.pojo.Building;
import com.yiyang.pojo.Result;

import java.util.List;

public interface BuildingService {
        Result<List<Building>> getBuilding(Integer currentPage,Integer pageSize,String  name,String  height);

        Result<Void> addBuilding(Building building);

        Result<Void> updateBuilding(Building building);

        Result<Void> deleteBuildingById(String  id);
}
